package ch.evaleto.gwt.media.client.player;

import ch.evaleto.gwt.media.client.player.util.EventListener;

/**
 * generic interface for media player
 * @author evaleto
 */
public interface PlayerListener extends EventListener{
	public void onFinish();
	/**
	 * the media is playing
	 * @param media 
	 */
	public void onPlaying(Media media);
	/**
	 * the media player is loaded
	 * @param player 
	 */
	public void onInstance(Player player);
}
